<?php

class User_InfoController extends Zend_Controller_Action
{

    public function init()
    {

    }

    public function indexAction()
    {
        $this->setCss('window');
        $layout = Zend_Layout::getMvcInstance();
        $layout->appTab = User_Model_Tab::render($this->view);
    }
    /**
     * Set css file
     *
     * @return void
     */
    protected function setCss($file) {

        $cssPath = $this->view->baseUrl('application/modules/user/public/css');
        $this->view
             ->headLink()
             ->appendStylesheet(
                 $cssPath . DIRECTORY_SEPARATOR .
                 $file . ".css"
               );
    }
}